package com.etc.entity;

public class Area {
    private Integer id;

    private String townId;

    private String townName;

    private String cityId;

    private City city;

    public City getCity() {
        return city;
    }

    public void setCity(City city) {
        this.city = city;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTownId() {
        return townId;
    }

    public void setTownId(String townId) {
        this.townId = townId;
    }

    public String getTownName() {
        return townName;
    }

    public void setTownName(String townName) {
        this.townName = townName;
    }

    public String getCityId() {
        return cityId;
    }

    public void setCityId(String cityId) {
        this.cityId = cityId;
    }

    @Override
    public String toString() {
        return "Area{" +
                "id=" + id +
                ", townId='" + townId + '\'' +
                ", townName='" + townName + '\'' +
                ", cityId='" + cityId + '\'' +
                ", city=" + city +
                '}';
    }

    public Area() {
    }
}